// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'

import VueLazyload from 'vue-lazyload'
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'
// require('!style-loader!css-loader!video.js/dist/video-js.css')
import 'vue-video-player/src/custom-theme.css'
import VueMaterial from 'vue-material'
import 'vue-material/dist/vue-material.min.css'
import 'vue-material/dist/theme/default.css'
import 'videojs-contrib-hls'
// import WebRTC from 'vue-webrtc'
// Vue.use(WebRTC)
Vue.use(VueMaterial)
Vue.use(VueLazyload)

Vue.use(VueVideoPlayer, /* {
  options: global default options,
  events: global videojs events
} */)

Vue.config.productionTip = false


/* eslint-disable no-new */
new Vue({
	store,
  router,
  el: '#app',
  template: '<App/>',
  components: { App }
})
